<?php $this->load->view('admin/admin_head.php');?>
<style>body{height:100%;background:#E2E9EA;}</style>
<div id="main_top">
<div id="header" class="header" >
<table width="100%" height="80" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td rowspan="2" width="150"><div class="logo"><a href="<?php echo base_url()?>" target="_blank"><img src="<?php echo base_url()?>images/x6cms.gif" width=150></a></div></td>
		<td height="40"><div class="nav">&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang('welcome')?><?php echo $username?><i>|</i> [<?php echo $varname?>]  <i>|</i> [<a href="<?php echo site_url('logout')?>" target="_top"><?php echo lang('logout')?></a>]</div></td>
		<td align="right"><div class="nav">&nbsp;&nbsp;</div></td>
	</tr>
	<tr>
		<td valign="bottom">
			<div class="topmenu"><ul>
			<li onClick="setLeft('<?php echo 'personal'?>');return false;"><span class="topmenufunc" id="topmenufunc_<?php echo 'personal'?>"><b><?php echo lang('func_'.'personal')?></b></span></li>
			<li onClick="setLeft('<?php echo 'content'?>');return false;"><span class="topmenufunc" id="topmenufunc_<?php echo 'content'?>"><b><?php echo lang('func_'.'content')?></b></span></li>
			</ul></div></td>
		<td align="right"><div class="nav">&nbsp;&nbsp;</div></td>
	</tr>
</table>
</div>
</div>
<script type="text/javascript">
function setLeft(menuType){
	parent.menu.setTab(menuType);
	$(".topmenufunc").removeClass('current');
	$("#topmenufunc_"+menuType).addClass('current');
}
$("#topmenufunc_personal").addClass('current');
</script>
<?php $this->load->view('admin/admin_foot.php');?>